package com.dragons.dragonsvf.entities;

import com.baomidou.mybatisplus.annotation.SqlCondition;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.sql.Timestamp;

/**
 * @author dragons
 * @version 1.0.0
 * @description: 商品信息 DTO 数据类
 * @date 2025/6/20 16:52
 */
public class ProductDTO {

    private String id; // 唯一的32位的
    private String product_name; // 商品名称
    private String product_desc; // 商品描述
    private Double product_price; // 商品价格
    private Integer product_pay; // 商品付款人数
    private String product_tag_desc1; // 商品标签1文字
    private String product_tag_desc2; // 商品标签2文字
    private String product_tag_desc3; // 商品标签3文字
    private String product_img_url; // 商品图片url
    private Double product_discount; // 商品折扣
    private Integer product_authority; // 商品权限（999超级管理员/0游客/1注册用户/3代理
    private Integer product_racking; // 商品是否下架（0上架/1下架）
    private Integer product_type; // 商品分类（咸鱼0/抖音1/小红书2/视频号3/快手4）
    private Timestamp product_create_tm; // 商品创建时间
    private Timestamp product_update_tm; // 商品最新修改时间
    private Integer pageSize; // 每页多少条
    private Integer currentPage; // 当前第几页
    private Integer stock; // 库存


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProduct_name() {
        return product_name;
    }

    public void setProduct_name(String product_name) {
        this.product_name = product_name;
    }

    public String getProduct_desc() {
        return product_desc;
    }

    public void setProduct_desc(String product_desc) {
        this.product_desc = product_desc;
    }

    public Double getProduct_price() {
        return product_price;
    }

    public void setProduct_price(Double product_price) {
        this.product_price = product_price;
    }

    public Integer getProduct_pay() {
        return product_pay;
    }

    public void setProduct_pay(Integer product_pay) {
        this.product_pay = product_pay;
    }

    public String getProduct_tag_desc1() {
        return product_tag_desc1;
    }

    public void setProduct_tag_desc1(String product_tag_desc1) {
        this.product_tag_desc1 = product_tag_desc1;
    }

    public String getProduct_tag_desc2() {
        return product_tag_desc2;
    }

    public void setProduct_tag_desc2(String product_tag_desc2) {
        this.product_tag_desc2 = product_tag_desc2;
    }

    public String getProduct_tag_desc3() {
        return product_tag_desc3;
    }

    public void setProduct_tag_desc3(String product_tag_desc3) {
        this.product_tag_desc3 = product_tag_desc3;
    }

    public String getProduct_img_url() {
        return product_img_url;
    }

    public void setProduct_img_url(String product_img_url) {
        this.product_img_url = product_img_url;
    }

    public Double getProduct_discount() {
        return product_discount;
    }

    public void setProduct_discount(Double product_discount) {
        this.product_discount = product_discount;
    }

    public Integer getProduct_authority() {
        return product_authority;
    }

    public void setProduct_authority(Integer product_authority) {
        this.product_authority = product_authority;
    }

    public Integer getProduct_racking() {
        return product_racking;
    }

    public void setProduct_racking(Integer product_racking) {
        this.product_racking = product_racking;
    }

    public Integer getProduct_type() {
        return product_type;
    }

    public void setProduct_type(Integer product_type) {
        this.product_type = product_type;
    }

    public Timestamp getProduct_create_tm() {
        return product_create_tm;
    }

    public void setProduct_create_tm(Timestamp product_create_tm) {
        this.product_create_tm = product_create_tm;
    }

    public Timestamp getProduct_update_tm() {
        return product_update_tm;
    }

    public void setProduct_update_tm(Timestamp product_update_tm) {
        this.product_update_tm = product_update_tm;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }
}
